#ifdef WITH_OPENGL
#pragma once

#include "texture.h"
#include "opengl.h"

namespace krryn{
namespace view{
	class canvas;
}
namespace system_imp{
	class texture_opengl : public view::texture{
	public:
		texture_opengl(view::canvas *a_Canvas, size_t a_TextureUnit);

		virtual ~texture_opengl() {}
		virtual void enable();
		virtual void disable();
	private:
		GLuint m_TextureId;
	};
}
}
#endif